<h3 class="page-title">
    最近热帖
</h3>
<ol class="fly-list-one">
    <?php foreach ($viewsRank as $viewsvalue) {?>
    <li>
        <a href="<?php echo U('home/question/qpage', array('qid'=>$viewsvalue['qid']));?>">
            <?php echo $viewsvalue['title']; ?>
        </a>
        <span>
            <i class="iconfont">
                
            </i>
            <?php echo $viewsvalue['views']; ?>
        </span>
    </li>
    <?php } ?>
</ol>
<h3 class="page-title">
    近期热议
</h3>
<ol class="fly-list-one">
    <?php foreach ($ansnumRank as $ansnumvalue) {?>
    <li>
        <a href="<?php echo U('home/question/qpage', array('qid'=>$ansnumvalue['qid']));?>">
            <?php echo $ansnumvalue['title']; ?>
        </a>
        <span>
            <i class="iconfont">
                
            </i>
            <?php echo $ansnumvalue['num_of_ans']; ?>
        </span>
    </li>
    <?php } ?>
</ol>